<?php



use Doctrine\ORM\Mapping as ORM;

/**
 * ItemDomain
 *
 * @ORM\Table(name="item_domain")
 * @ORM\Entity
 */
class ItemDomain
{
    /**
     * @var integer
     *
     * @ORM\Column(name="itd_id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $itdId;

    /**
     * @var string
     *
     * @ORM\Column(name="itd_value", type="string", length=45, nullable=false)
     */
    private $itdValue;

    /**
     * @var string
     *
     * @ORM\Column(name="itd_description", type="string", length=45, nullable=true)
     */
    private $itdDescription;

    /**
     * @var integer
     *
     * @ORM\Column(name="itd_audit_create_date", type="bigint", nullable=true)
     */
    private $itdAuditCreateDate;

    /**
     * @var \Domain
     *
     * @ORM\ManyToOne(targetEntity="Domain")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="itd_dom_id", referencedColumnName="dom_id")
     * })
     */
    private $itdDom;


    /**
     * Get itdId
     *
     * @return integer 
     */
    public function getItdId()
    {
        return $this->itdId;
    }

    /**
     * Set itdValue
     *
     * @param string $itdValue
     * @return ItemDomain
     */
    public function setItdValue($itdValue)
    {
        $this->itdValue = $itdValue;
    
        return $this;
    }

    /**
     * Get itdValue
     *
     * @return string 
     */
    public function getItdValue()
    {
        return $this->itdValue;
    }

    /**
     * Set itdDescription
     *
     * @param string $itdDescription
     * @return ItemDomain
     */
    public function setItdDescription($itdDescription)
    {
        $this->itdDescription = $itdDescription;
    
        return $this;
    }

    /**
     * Get itdDescription
     *
     * @return string 
     */
    public function getItdDescription()
    {
        return $this->itdDescription;
    }

    /**
     * Set itdAuditCreateDate
     *
     * @param integer $itdAuditCreateDate
     * @return ItemDomain
     */
    public function setItdAuditCreateDate($itdAuditCreateDate)
    {
        $this->itdAuditCreateDate = $itdAuditCreateDate;
    
        return $this;
    }

    /**
     * Get itdAuditCreateDate
     *
     * @return integer 
     */
    public function getItdAuditCreateDate()
    {
        return $this->itdAuditCreateDate;
    }

    /**
     * Set itdDom
     *
     * @param \Domain $itdDom
     * @return ItemDomain
     */
    public function setItdDom(\Domain $itdDom = null)
    {
        $this->itdDom = $itdDom;
    
        return $this;
    }

    /**
     * Get itdDom
     *
     * @return \Domain 
     */
    public function getItdDom()
    {
        return $this->itdDom;
    }
}
